package com.gxa.autoparts.admin.mapper;

import com.gxa.autoparts.core.pojo.User;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface UserMapper extends Mapper<User> {

    List<Map> selectRecharge(Integer page, Integer size);
    List<Map> selectRechargeByTime(String time1, String time2, Integer page, Integer size);
    List<User> selectAll1(Integer page,Integer size);
    List<Map> selectAllRecharge();
    List<Map>selectRechargeByTimeAll(String time1, String time2);
    List<User> selectAll2();
    List<User> selectByNameAndPhoneAndState(String name,String phone,Boolean state,Integer page,Integer size);
    List<User> selectByNameAndPhoneAndStateAll(String name,String phone,Boolean state);
}
